package com.qingzhuge.exception;


import com.qingzhuge.common.HttpCode;

/**
 * @author : zero.xiao
 * @description :短信验证码错误
 * @modified :
 */
public class SmsCodeException extends BaseException {
    private static final long serialVersionUID = 2143279729025406492L;

    public SmsCodeException() {
        super(HttpCode.SMS_CODE_ERROR.message());
    }

    public SmsCodeException(String message) {
        super(message);
    }

    public SmsCodeException(String message, Exception e) {
        super(message, e);
    }

    @Override
    public int getCode() {
        return HttpCode.SMS_CODE_ERROR.value();
    }
}
